/**
 * 定义天报表模块
 */
(function(window, angular, undefined){
	var module = angular.module('water.apps.sw.reportData.dayDataManager', ['water.apps.common.report.reportFormBase',
	                                                                          'water.common.dateUtil']);
	
	module.controller('reportDataDayManagerController',function($scope,$monitorDataService,$controller,$dateUtil){

		var control = $controller("commonReportFormController",{$scope:$scope});
		
		$scope.dataAPIName = 'getDayReport';
		$scope.dataExportAPIName = "exportDayExcel";
		
		function _init(){
			$scope.startDate = $dateUtil.formatDate(new Date(),'yyyy-MM-dd');
		}

		_init();
	});
}(window, angular));